using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Demo.Model;

public partial class Documentation_CRUD_Edit : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        SimpleEntity simpleEntity = new SimpleEntity();
        simpleEntity.Property1 = "Property 1";
        simpleEntity.Property2 = 2;
        this.EntityEdit1.Entity = simpleEntity;

        Person person = new Person();
        this.EntityEdit2.Entity = person;
        this.EntityEdit2.LoadConfiguration("PersonMainData");

        Address address = new Address();
        this.EntityEdit3.Entity = address;

        Person person2 = new Person();
        this.EntityEdit4.Entity = person2;
        this.EntityEdit4.LoadConfiguration("PersonPhones");
    }
}
